package com.beta.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

/**
 *
 * 
 *
 */
public class Menus implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 名称 */
	private String name;

	/** 图标 */
	private String icon;

	/** 路径 */
	private String path;

	/** 父菜单ID */
	private Integer parentId;

	/** 排序 */
	private Integer position;


	public Integer getId() {
		return this.id;
	}

	public Menus setId(Integer id) {
		this.id = id;
		return this;
	}

	public String getName() {
		return this.name;
	}

	public Menus setName(String name) {
		this.name = name;
		return this;
	}

	public String getIcon() {
		return this.icon;
	}

	public Menus setIcon(String icon) {
		this.icon = icon;
		return this;
	}

	public String getPath() {
		return this.path;
	}

	public Menus setPath(String path) {
		this.path = path;
		return this;
	}

	public Integer getParentId() {
		return this.parentId;
	}

	public Menus setParentId(Integer parentId) {
		this.parentId = parentId;
		return this;
	}

	public Integer getPosition() {
		return this.position;
	}

	public Menus setPosition(Integer position) {
		this.position = position;
		return this;
	}

}
